package com.nacos.shangtu.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
@TableName("im_message")
public class MessagePO {

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;
    @TableField("from_user")
    private String from;
    @TableField("to_user")
    private String to;
    @TableField("group_Id")
    private String groupId;
    private String content;
    private String type; // txt img
    @TableField("create_time")
    private Date createTime;
    @TableField("status")
    private Integer status;

}
